<?php
 FLEA::loadClass('FLEA_Db_TableDataGateway'); class FLEA_Acl_Table_Roles extends FLEA_Db_TableDataGateway { var $primaryKey = 'role_id'; var $tableName = 'roles'; var $manyToMany = array( array( 'tableClass' => 'FLEA_Acl_Table_Permissions', 'foreignKey' => 'role_id', 'assocForeignKey' => 'permission_id', 'joinTable' => 'roles_has_permissions', 'mappingName' => 'permissions', ), ); } 